package com.test.designPattern.creationType.prototypePattern;

/**
 * 长方形
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/4/4
 */
public class Rectangle extends Shape {

    public Rectangle(){
        type = "Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("draw Rectangle");
    }
}
